﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Defero.Core.DataTransferObjects;

namespace Defero.Web.Models 
{
    /// <summary>
    /// Modelo para MyBugs.
    /// </summary>
    public class MyBugsModel 
    {
        /// <summary>
        /// Bugs asignados.
        /// </summary>
        public IEnumerable<BugHeader> AssignedBugs { get; private set; }
        /// <summary>
        /// Constructor default.
        /// </summary>
        public MyBugsModel() 
        {
            AssignedBugs = new List<BugHeader>();
        }
        /// <summary>
        /// Constructor parametrizado.
        /// </summary>
        /// <param name="assignedBugs">Lista de bugs asignados.</param>
        public MyBugsModel(IEnumerable<BugHeader> assignedBugs) 
        {
            AssignedBugs = assignedBugs;
        }
    }
    /// <summary>
    /// Modelo para BugDetail
    /// </summary>
    public class BugDetailModel { }

}